Add some translator comments
authorMatthias Clasen <mclasen@redhat.com>
Thu, 8 Jun 2017 19:05:55 +0000 (15:05 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 8 Jun 2017 19:10:32 +0000 (15:10 -0400)
These were requested in
https://bugzilla.gnome.org/show_bug.cgi?id=783552

gtk/gtkshortcutswindow.c

index 5cf4f73241b271aa0bfc87acae66c581a92751f6..05b8f93b2a3e16106157ffbe0045ec10a74061c4 100644 (file)
@@ -907,10 +907,12 @@ gtk_shortcuts_window_init (GtkShortcutsWindow *self)
                                     NULL);
   gtk_header_bar_set_custom_title (priv->header_bar, GTK_WIDGET (priv->title_stack));
 
+  /* Translators: This is the window title for the shortcuts window in normal mode */
   label = gtk_label_new (_("Shortcuts"));
   gtk_style_context_add_class (gtk_widget_get_style_context (label), GTK_STYLE_CLASS_TITLE);
   gtk_stack_add_named (priv->title_stack, label, "title");
 
+  /* Translators: This is the window title for the shortcuts window in search mode */
   label = gtk_label_new (_("Search Results"));
   gtk_style_context_add_class (gtk_widget_get_style_context (label), GTK_STYLE_CLASS_TITLE);
   gtk_stack_add_named (priv->title_stack, label, "search");
@@ -955,6 +957,7 @@ gtk_shortcuts_window_init (GtkShortcutsWindow *self)
   priv->search_entry = GTK_SEARCH_ENTRY (gtk_search_entry_new ());
   gtk_container_add (GTK_CONTAINER (priv->search_bar), GTK_WIDGET (priv->search_entry));
   g_object_set (priv->search_entry,
+                /* Translators: This is placeholder text for the search entry in the shortcuts window */
                 "placeholder-text", _("Search Shortcuts"),
                 "width-chars", 40,
                 NULL);